"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.post = exports.get = void 0;

require("core-js/modules/es.object.to-string.js");

require("reflect-metadata");

function getRequestDecorator(type) {
  return function (path) {
    return function (target, key) {
      Reflect.defineMetadata('path', path, target, key);
      Reflect.defineMetadata('method', type, target, key);
    };
  };
}

var get = getRequestDecorator('get');
exports.get = get;
var post = getRequestDecorator('post');
exports.post = post;